package cn.anstone.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.anstone.entity.Girl;

/**
 * 
 * @author J.L.Lee
 * @Email anstoner@163.com
 * @date Aug 23, 2017
 */
public interface GirlRepository extends JpaRepository<Girl, Integer> {

	// 通过年龄来查询
	public List<Girl> findByAge(Integer age);
}
